<?php
namespace app\common\model;

class Banner extends BaseModel{

	public function getImgUrlAttr($images_id = '', $data = array()){
		
		$images_id = $images_id ? $images_id : $data['images_id'];
		$img_url = model('File')->get_path($images_id);

		return $img_url ? $img_url : '';
	}
}